var runtime.physPageSize
46 uses
runtime (current package)
arena.go#L209: if userArenaChunkBytes%physPageSize != 0 {
arena.go#L841: if uintptr(x)%physPageSize != 0 {
malloc.go#L354: var physPageSize uintptr
malloc.go#L385: if physPageSize == 0 {
malloc.go#L389: if physPageSize > maxPhysPageSize {
malloc.go#L390: print("system page size (", physPageSize, ") is larger than maximum page size (", maxPhysPageSize, ")\n")
malloc.go#L393: if physPageSize < minPhysPageSize {
malloc.go#L394: print("system page size (", physPageSize, ") is smaller than minimum page size (", minPhysPageSize, ")\n")
malloc.go#L397: if physPageSize&(physPageSize-1) != 0 {
malloc.go#L398: print("system page size (", physPageSize, ") must be a power of 2\n")
malloc.go#L784: size = physPageSize
malloc.go#L1684: if pEnd := alignUp(l.next-1, physPageSize); pEnd > l.mapped {
mem_linux.go#L42: if uintptr(v)&(physPageSize-1) != 0 || n&(physPageSize-1) != 0 {
mem_linux.go#L111: if uintptr(v)&(physPageSize-1) != 0 {
mem_linux.go#L120: if uintptr(v)&(physPageSize-1) != 0 {
mgcscavenge.go#L211: gcPercentGoal = (gcPercentGoal + uint64(physPageSize) - 1) &^ (uint64(physPageSize) - 1)
mgcscavenge.go#L229: if heapRetainedNow <= gcPercentGoal || heapRetainedNow-gcPercentGoal < uint64(physPageSize) {
mgcscavenge.go#L613: worked += approxWorkedNSPerPhysicalPage * float64(r/physPageSize)
mgcscavenge.go#L634: if released > 0 && released < physPageSize {
mgcscavenge.go#L749: minPages := physPageSize / pageSize
mgcscavenge.go#L962: if physHugePageSize > pageSize && physHugePageSize > physPageSize {
mheap.go#L1178: needPhysPageAlign := physPageAlignedStacks && typ == spanAllocStack && pageSize < physPageSize
mheap.go#L1212: extraPages := physPageSize / pageSize
mheap.go#L1235: base = alignUp(base, physPageSize)
mheap.go#L1484: nBase := alignUp(end, physPageSize)
mheap.go#L1527: nBase = alignUp(h.curArena.base+ask, physPageSize)
mpagealloc_64bit.go#L78: b := alignUp(uintptr(entries)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L118: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L119: limitOffset := alignUp(uintptr(sumIdxLimit)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L210: needMin := alignDown(uintptr(chunkIndex(base)), physPageSize/scSize)
mpagealloc_64bit.go#L211: needMax := alignUp(uintptr(chunkIndex(limit)), physPageSize/scSize)
os_linux.go#L268: physPageSize = n
os_linux.go#L272: if physPageSize == 0 {
os_linux.go#L273: physPageSize = size
os_linux.go#L305: physPageSize = val
runtime.go#L125: func syscall_Getpagesize() int { return int(physPageSize) }
signal_unix.go#L867: if n > physPageSize-pc%physPageSize {
signal_unix.go#L868: n = physPageSize - pc%physPageSize
stack.go#L352: n = uint32(alignUp(uintptr(n), physPageSize))
vdso_linux.go#L290: page := *k.ptr &^ (physPageSize - 1)
vdso_linux.go#L291: return pc >= page && pc < page+physPageSize
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |